package com.asia5b.a5mall.middleware.model.bean

import com.asia5b.a5mall.middleware.widget.popup.PopupItemTextInterface
import com.chad.library.adapter.base.entity.MultiItemEntity

/**
 * Created by zhangyuncai on 2020/1/6.
 */
 class MenuBean: MultiItemEntity, PopupItemTextInterface {
    override fun getText(): String {
        return value
    }

    constructor(type:Int,name:String,value:String){
        this.type=type
        this.name=name
        this.value=value
    }
    constructor(name:String,value:String){
        this.name=name
        this.value=value
    }
    constructor(value:String){
        this.value=value
    }

    var type=0
    var name=""
    var value=""
    override val itemType: Int
        get() = type
}